#include <iostream>

const float Pound_Per_Kilo = 2.2;

int main(void)
{
    using namespace std;
    cout << "Please enter your height in feet and inches:";
    int ht_inch;
	int ht_feet;
	cin >> ht_feet;
    cin >> ht_inch;
    float ht_m = 0.3048*ht_feet + 0.0254 * ht_inch;
	cout << "Please enter your weight in pounds:";
	float wt_pt;
	cin >> wt_pt;
	double BMI = (wt_pt/Pound_Per_Kilo)/(ht_m*ht_m);
    cout << "BMI:" << BMI << endl;
    return 0;
}
